/**
*  \file adc.h
*
*  \brief ADC sample function
*
*  \author dajin.li  <dajin.li@linde-china.cn>
*
*/

/*===============================================[ private includes  ]================================================*/
#ifndef _ADC_H_
#define _ADC_H_




extern s16 AD_CurrentInv1PhaseU;
extern s16 AD_CurrentInv1PhaseW;	

extern s16 AD_CurrentInv2PhaseU;		    			
extern s16 AD_CurrentInv2PhaseW;    				

extern s16 AD_TempMotInv2;
extern s16 AD_TempMotInv1;


extern s16 AD_5VExtSns;	
extern s16 AD_13_7VSupply;    				

extern s16 AD_DcLink;		    			
extern s16 AD_Accelerator1;	
extern s16 AD_Accelerator2;    				

extern s16 AD_SteerAngleB;  
extern s16 AD_SteerAngleA;    				

extern s16 AD_Reserve2; 
extern s16 AD_Reserve1;    				

extern s16 AD_CurrentCutOffIso;    				
extern s16 AD_CurrentMainCont;    				
extern s16 AD_KeySwitch; 

extern s16 first_ads_done;
extern S16 AD_12VSupply;

void adc_tic(void);


#endif


